package com.gccloud.design;

import com.gccloud.design.core.mp.meta.EnableStarterMeta;
import com.ustcinfo.bwp.client.anno.EnableBwpClientRest;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 实现功能【设计中心启动类】
 *
 * @author hu.hongdou
 * @date 2022/2/21
 */
@SpringBootApplication(scanBasePackages = {"com.gccloud", "com.gccloud.design"})
@MapperScan(value = {"com.gccloud.design.dao"})
@EnableDiscoveryClient
@EnableStarterMeta
@EnableFeignClients(basePackages = {"com.gccloud"})
@EnableBwpClientRest
public class DesignServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(DesignServerApplication.class, args);
    }

}
